home *** CD-ROM | disk | FTP | other *** search
/ PC Media 22 / PC MEDIA CD22.iso / share / prog / patrn_oa / pattern.cpp next >
Text File  |  1995-08-27  |  584b  |  16 lines

  1. // Code for Pattern #1, pattern set #2
  2. char Pattern[8] = {0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55, 0xaa, 0x55};
  3. setfillpattern(Pattern, 11);
  4.  
  5. /*            HEX      BINARY      RESULT
  6. ------------------------------------------
  7. Pattern[0]    0xaa    10101010    █ █ █ █ 
  8. Pattern[1]    0x55    01010101     █ █ █ █
  9. Pattern[2]    0xaa    10101010    █ █ █ █ 
  10. Pattern[3]    0x55    01010101     █ █ █ █
  11. Pattern[4]    0xaa    10101010    █ █ █ █ 
  12. Pattern[5]    0x55    01010101     █ █ █ █
  13. Pattern[6]    0xaa    10101010    █ █ █ █ 
  14. Pattern[7]    0x55    01010101     █ █ █ █
  15. */
  16.